package edu.sctu.lab03;

import javax.servlet.*;
import java.io.IOException;

/**
 * Created by Administrator on 2018-6-7.
 */
public class DemoFilter implements Filter {
    @Override
    public void doFilter(ServletRequest servletRequest,
                         ServletResponse servletResponse,
                         FilterChain filterChain)
            throws IOException, ServletException {


        System.out.println("This is demo filter!");

        filterChain.doFilter(servletRequest, servletResponse);
    }
}
